﻿// Copyright (c) MAS (厦门威光) Corporation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE file in the project root for details.

namespace McProtocolNext;

/// <summary>
/// PLC 设备类型枚举
/// </summary>
public enum PlcDeviceType {
    M = 0x90,
    SM = 0x91,
    L = 0x92,
    F = 0x93,
    V = 0x94,
    S = 0x98,
    X = 0x9C,
    Y = 0x9D,
    B = 0xA0,
    SB = 0xA1,
    DX = 0xA2,
    DY = 0xA3,
    D = 0xA8,
    SD = 0xA9,
    R = 0xAF,
    ZR = 0xB0,
    W = 0xB4,
    SW = 0xB5,
    TC = 0xC0,
    TS = 0xC1,
    TN = 0xC2,
    CC = 0xC3,
    CS = 0xC4,
    CN = 0xC5,
    SC = 0xC6,
    SS = 0xC7,
    SN = 0xC8,
    Z = 0xCC,
    TT,
    TM,
    CT,
    CM,
    A,
    Max
}
